package xyz.gzdxc.common.mysql.repository;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import xyz.gzdxc.common.mysql.entity.CaptchaEntity;

@Repository
public interface CaptchaRepository extends CrudRepository<CaptchaEntity, Long> {
    @Override
    CaptchaEntity save(CaptchaEntity captchaEntity);

    CaptchaEntity findBySession(String session);
}
